/*
 * CountingMazeBuilder.h
 *
 *  Created on: Jan 9, 2013
 *      Author: quanpv
 */

#ifndef COUNTINGMAZEBUILDER_H_
#define COUNTINGMAZEBUILDER_H_

#include "MazeBuilder.h"

class CountingMazeBuilder: public MazeBuilder {
public:
	CountingMazeBuilder();
	virtual ~CountingMazeBuilder();

	virtual void BuildMaze();
	virtual void BuildRoom(int);
	virtual void BuildDoor(int, int);
	virtual void AddWall(int, int);

	void GetCounts(int& rooms, int& doors) const;

private:
	int _doors;
	int _rooms;
};

#endif /* COUNTINGMAZEBUILDER_H_ */
